import { DataSourceOptions } from 'typeorm';
import { ReportEntity } from './reports/reports.entity';
import { UserEntity } from './users/users.entity';

const config: DataSourceOptions = {
  type: 'sqlite',
  database: 'db.sqlite',
  entities: [UserEntity, ReportEntity],
  synchronize: true,
};

export default config;
